package com.sky.common.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

@EqualsAndHashCode(callSuper = true)
@Data
public class NoPicException extends RuntimeException {

    @Serial
    private static final long serialVersionUID = -4913023248000739193L;

    private String message;

    private String code;

    public NoPicException(String message, String code) {
        super(message);
        this.message = message;
        this.code = code;
    }



}
